
function Parent(){
    this.name="parent"
    this.like=['篮球','足球']
}
Child.prototype=new Parent()
Child.prototype.constructor=Child
function Child(){
    Parent.call(this)
    this.age=18
}